<template>
	<view>
		<uni-search-bar class="uni-mt-10" radius="5" placeholder="自动显示隐藏" clearButton="auto" cancelButton="none"
			@confirm="search" v-model="value" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: ''
			}
		},
		methods: {
			search() {
				console.log(this.value)
			}
		}
	}
</script>

<style>

</style>
